package com.kandinfo.base.security.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.kandinfo.base.admin.domain.BaseDomain;

@Entity
@Table(name = "user_role")
public class UserRole extends BaseDomain implements Serializable {
    private static final long serialVersionUID = 1L;

    // bi-directional many-to-one association to User
    @Column(name = "user_id")
    private Long userId;

    // bi-directional many-to-one association to Role
    @Column(name = "role_id")
    private Long roleId;

    public UserRole() {
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

   

}
